package org.bizming.medicine.model.help;

import org.bizming.base.BaseModel;
import org.bizming.util.StringHelper;

/**
 * 供货企业
 * 
 * @author yaoming
 * 
 */
public class OfferCompany extends BaseModel {

	private String company;// 企业名称--20

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	@Override
	public boolean isValidate(ActionType type) {
		return StringHelper.isLengthIn(company, 20);
	}

}
